package com.js.data.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.js.data.system.entity.SysDict;
import com.js.data.system.query.DictQuery;
import com.js.data.system.vo.DictPageVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 数据字典 Mapper 接口
 * </p>
 *
 * @author wujj
 * @since 2022-09-06
 */
public interface SysDictMapper extends BaseMapper<SysDict> {

    /**
     * 系统下字典类型列表
     *
     * @param query 查询条件
     * @return CommonResult<IPage < DictPageVO>>
     */
    IPage<DictPageVO> selectPageVO(Page<DictPageVO> page, @Param("query") DictQuery query);
}
